home *** CD-ROM | disk | FTP | other *** search
/ Champak 125 / Vol 125 (Damaged).iso / games / orbox.swf / scripts / DefineSprite_155 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-11-13  |  564 b   |  29 lines

  1. if(this.hitTest(_root.pra.done) == true)
  2. {
  3.    if(sou != 1)
  4.    {
  5.       _root.ricSound.stop();
  6.       _root.ricSound.start();
  7.    }
  8.    sou = 1;
  9.    if(_root.m1 == 3)
  10.    {
  11.       _root.snd.gotoAndPlay(10);
  12.       ┬º┬ºpush(_root);
  13.       ┬º┬ºpush("x");
  14.       ┬º┬ºpush(_root.lev._x + _root.lev.fon._x);
  15.       ┬º┬ºpush(_X);
  16.    }
  17.    else if(_root.m1 == 2)
  18.    {
  19.       _root.snd.gotoAndPlay(10);
  20.       _root.x = _root.lev._x + _root.lev.fon._x + _X;
  21.       _root.y = _root.lev._y + _root.lev.fon._y + _Y;
  22.       _root.m = 1;
  23.    }
  24. }
  25. else
  26. {
  27.    sou = 0;
  28. }
  29.